home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Shareware World / Comms & Internet / PageSpinner 2.1 / PageSpinner 2.1 68K / Includes / ps_window.js < prev    next >
Text File  |  1998-12-06  |  563b  |  29 lines

  1. <SCRIPT LANGUAGE="JavaScript">
  2. <!--
  3. // Generated by PageSpinner, www.optima-system.com
  4. function psShowWin(theName, theFlags, theURL, thisURL)
  5. {
  6.     if (theURL)
  7.     {     psWindow = open(theURL,theName, psWinInfo[theName] );
  8.         psWindow = open(theURL,theName, psWinInfo[theName] );    
  9.     }
  10.     else 
  11.     {    if (psWindow)
  12.             psWindow.close(); }
  13.     if (thisURL) 
  14.         location=thisURL;    
  15.     if (theFlags & 1)
  16.     {    if (psWindow.focus)
  17.             psWindow.focus();
  18.     }
  19. }
  20. function psSetupWin(theName, winInfo)
  21. {
  22.     psWinInfo[theName] = winInfo;
  23. }
  24.  
  25. var    psWindow = null;
  26. psWinInfo = new Array();
  27. // -->
  28. </SCRIPT>
  29.